﻿using System;
using System.Collections.Generic;
using System.Text;
using Tauren.File.Entity.Global;
using Tauren.File.Entity.Model;
using Tauren.File.Entity.Output;

namespace Tauren.File.DLL.FileDLL
{
    /// <summary>
    /// 文件处理
    /// </summary>
    public interface IFileBusiness : Base.IBaseDLL
    { 
        /// <summary>
        /// 获取版本信息信息--多个
        /// </summary>
        /// </summary>
        /// <param name="model">版本信息实体</param>
        /// <returns></returns>
        List<FilesVersion> GetVersionsByFileId(long fileid);
        /// <summary>
        /// 获取序号
        /// </summary>
        /// <returns></returns>
        double GetSeq();
        /// <summary>
        /// 根据ID获取数据
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        List<Files> GetFiles(string[] ids);
        List<PageDocumentCenterTable> Pages(QueryModel queryModel, out long Total);

        /// <summary>
        /// 获取当前用户的头像
        /// </summary>
        /// <returns></returns>
        ExPhotoInfo SingePhoto(int empid);
    }
}
